FROM java:openjdk-8u111
MAINTAINER admin

WORKDIR /app

EXPOSE 8081

CMD ["nohup","java","-Xms512m","-Xmx2048m","-XX:MaxPermSize=256m","-jar","admin.jar",">","logs/app.log","&"]